<extend name="Public/base" />
<block name="body" >
    <div class="main-title">
        <h2>商品明细</h2>
    </div>
    
    <form action="{:U('')}" enctype="application/x-www-form-urlencoded" method="POST"
          class="form-horizontal" name="edit_product">
        <div class="form-item">
            <label for="purchase-proName" class="item-label">商品名称</label>
            <div class="controls">
                <input id="purchase-proName" type="text" name="proName" class="text input-large" value="{$purchase.proName}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-head" class="item-label">单箱规格</label>
            <div class="controls">
                <input id="purchase-head" type="text" name="head" class="text input-large" value="{$purchase.head}"/>头
            </div>
            <div class="controls">
                <input id="purchase-jin" type="text" name="jin" class="text input-large" value="{$purchase.jin}"/>斤
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-number" class="item-label">总重量</label>
            <div class="controls">
                <input id="purchase-number" type="text" name="grossWeight" class="text input-large" value="{$purchase.grossWeight}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-shopName" class="item-label">采购件数</label>
            <div class="controls">
                <input id="purchase-shopName" type="text" name="number" class="text input-large" value="{$purchase.number}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-oldPrice" class="item-label">采购单价</label>
            <div class="controls">
                <input id="purchase-oldPrice" type="text" name="price" class="text input-large" value="{$purchase.price}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-proName" class="item-label">箱重</label>
            <div class="controls">
                <input id="purchase-proName" type="text" name="boxheavy" class="text input-large" value="{$purchase.boxheavy}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-number" class="item-label">净重</label>
            <div class="controls">
                <input id="purchase-number" type="text" name="netWeight" class="text input-large" value="{$purchase.netWeight}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-shopName" class="item-label">采购总价</label>
            <div class="controls">
                <input id="purchase-shopName" type="text" name="amount" class="text input-large" value="{$purchase.amount}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-oldPrice" class="item-label">箱费</label>
            <div class="controls">
                <input id="purchase-oldPrice" type="text" name="boxfee" class="text input-large" value="{$purchase.boxfee}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-proName" class="item-label">损耗</label>
            <div class="controls">
                <input id="purchase-proName" type="text" name="loss" class="text input-large" value="{$purchase.loss}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-number" class="item-label">存放期</label>
            <div class="controls">
                <input id="purchase-number" type="text" name="selflife" class="text input-large" value="{$purchase.selflife}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-shopName" class="item-label">产地</label>
            <div class="controls">
                <input id="purchase-shopName" type="text" name="locality" class="text input-large" value="{$purchase.locality}"/>
            </div>
        </div>
        <div class="form-item">
            <label for="purchase-oldPrice" class="item-label">商户名称</label>
            <div class="controls">
                <input id="purchase-oldPrice" type="text" name="shopName" class="text input-large" value="{$purchase.shopName}"/>
            </div>
        </div>
<!--        <div class="form-item">
            <label for="purchase-proName" class="item-label">预计到货日期</label>
            <div class="controls">
                <input id="purchase-proName" type="text" name="proName" class="text input-large" value="{$purchase.proName}"/>
            </div>
        </div>-->
        <div class="form-item">
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>
<block name="script">
    <script type="text/javascript" charset="utf-8">
        //导航高亮
        highlight_subnav('{:U('Purchase/purchaselist')}');
    </script>
</block>